package com.ruoyi.work.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Author: MMDZ
 * @Desc: TODO  人力成本统计表(部门维度)
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeptCostReport extends ReportCondition {
    private String deptName;//部门
    private String userName;//工号
    private String nickName;//人员姓名
    private String level;//职级职等
    private BigDecimal amount;//金额合计
    private Double sumHour;//工时合计
    private List<Map<String, Double>> projectCost;//人力成本费用

    public DeptCostReport(String deptName, String userName, String nickName, String level, BigDecimal amount, Double sumHour) {
        this.deptName = deptName;
        this.userName = userName;
        this.nickName = nickName;
        this.level = level;
        this.amount = amount;
        this.sumHour = sumHour;
    }
}
